package com.bw.goods.adapter;

import com.bw.goods.R;
import com.bw.mvvm.network.load.LoadImage;
import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.viewholder.BaseViewHolder;

import org.jetbrains.annotations.NotNull;

public class HomeRecyclerAdapter extends BaseQuickAdapter<String, BaseViewHolder> {
    public HomeRecyclerAdapter() {
            super(R.layout.item_home_hot);
    }

    @Override
    protected void convert(@NotNull BaseViewHolder baseViewHolder, String s) {
        LoadImage.loadMatchImg(s,baseViewHolder.getView(R.id.home_hot_img));
    }
}
